import { createRouter, createWebHistory } from 'vue-router'
import webLogin from '../views/webLogin.vue'
import index from '../views/index.vue'

const routes = [
  {
    path: '/login',
    name: "Login",
    // component: () => import(/* webpackChunkName: "webLogin" */ '../views/webLogin.vue')
    component:webLogin
  },
  {
    path:'/',
    name:"Home",
    component:index

  }
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
